package com.cutler.kelv.wordduel;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Indexed;

@Entity
public class ValidWord {

	public @Id String word;
	public @Indexed int commonRank;
	
	public ValidWord() {}
	
	public ValidWord(String word, String commonRank) {
		this(word, Integer.parseInt(commonRank));
	}
	
	public ValidWord(String word, int commonRank) {
		this.word = word;
		this.commonRank = commonRank;
	}
}
